package com.dwxt.parabolic.utils;

import com.dwxt.common.util.XMLUtil;
import com.dwxt.common.util.wxUtil.ReplyBaseMessage;
import com.dwxt.parabolic.service.BindService;
import com.thoughtworks.xstream.XStream;
import org.dom4j.Document;
import org.dom4j.Element;
import org.springframework.beans.factory.annotation.Autowired;

import javax.servlet.http.HttpServletResponse;
import java.io.*;


public class ReplyTextMsg extends ReplyBaseMessage {

    private String Content;

    public String getContent() {
        return Content;
    }

    public void setContent(String content) {
        Content = content;
    }
    /**
     * 将对象转换为XML
     * @return
     */
    public String Msg2Xml(){
        XStream xstream=new XStream();
        xstream.alias("xml", this.getClass());
        return xstream.toXML(this);
    }


}